package com.ttai.dagger.module.activity;


import com.ttai.presenter.activity.EnterPagePresenter;
import com.ttai.ui.activity.EnterPage;

import dagger.Module;
import dagger.Provides;

@Module
public class EnterPagePresenterModule {
    EnterPage enterPage;

    public EnterPagePresenterModule(EnterPage enterPage) {
        this.enterPage = enterPage;
    }

    @Provides
    EnterPagePresenter provideEnterPagePresenter(){
        return new EnterPagePresenter(enterPage);
    }

}
